Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 10 - Group Objects / Group Objects Reference
Group Objects Routines / Managing Groups


Q3Group_CountObjects

You can use the Q3Group_CountObjects function to determine how many objects a group contains.

TQ3Status Q3Group_CountObjects (
TQ3GroupObject group, 
unsigned long *nObjects);
group
A group.
nObjects
On exit, a pointer to the number of objects in the specified group.
DESCRIPTION
The Q3Group_CountObjects function returns, in the nObjects parameter, the number of objects contained in the group specified by the group parameter. If that group contains other groups, each contained group is counted only once.

ERRORS
kQ3ErrorInvalidObject
kQ3ErrorNULLParameter


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996